﻿using CommonModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using System.Web.Http;

namespace CarrierServices.Controllers
{
    public class ShipController : ApiController
    {
        public async Task<bool> Post([FromBody]ShipDetail shipDetail)
        {
            await Task.Delay(500);
            return new Random().Next() % 2 == 0;
        }
    }
}
